package com.stronger.pettern.decorator.decorator3;

import lombok.Data;

/**
 * 盲瞎
 */
@Data
public class BlindMonk implements Hero{

    private String name;

    public BlindMonk(String name){
        this.name=name;
    }
    @Override
    public void learnSkill() {
        System.out.println(getName());
    }
}
